package drh.bean;

import java.util.Date;

public class Order  {
	    private Integer id;

	    private String orderuid;

	    private String state;

	    private Integer payway;

	    private Integer userid;

	    private Integer addressid;

	    private String message;

	    private Integer money;

	    private Object time;

	    private Integer isdelete;

	    private Integer integral;

	    private String by1;

	    private String by2;

	    private String by3;
	    
	    private Address ainfo;

		public Address getAinfo() {
			return ainfo;
		}

		public void setTime(Object time) {
			this.time = time;
		}

		public void setAinfo(Address ainfo) {
			this.ainfo = ainfo;
		}

		public Integer getId() {
			return id;
		}

		public void setId(Integer id) {
			this.id = id;
		}

		public String getOrderuid() {
			return orderuid;
		}

		public void setOrderuid(String orderuid) {
			this.orderuid = orderuid;
		}

		public String getState() {
			return state;
		}

		public void setState(String state) {
			this.state = state;
		}

		public Integer getPayway() {
			return payway;
		}

		public void setPayway(Integer payway) {
			this.payway = payway;
		}

		public Integer getUserid() {
			return userid;
		}

		public void setUserid(Integer userid) {
			this.userid = userid;
		}

		public Integer getAddressid() {
			return addressid;
		}

		public void setAddressid(Integer addressid) {
			this.addressid = addressid;
		}

		public String getMessage() {
			return message;
		}

		public void setMessage(String message) {
			this.message = message;
		}

		public Integer getMoney() {
			return money;
		}

		public void setMoney(Integer money) {
			this.money = money;
		}

		public Object getTime() {
			return time;
		}

		public void setTime(Date time) {
			this.time = time;
		}

		public Integer getIsdelete() {
			return isdelete;
		}

		public void setIsdelete(Integer isdelete) {
			this.isdelete = isdelete;
		}

		public Integer getIntegral() {
			return integral;
		}

		public void setIntegral(Integer integral) {
			this.integral = integral;
		}

		public String getBy1() {
			return by1;
		}

		public void setBy1(String by1) {
			this.by1 = by1;
		}

		public String getBy2() {
			return by2;
		}

		public void setBy2(String by2) {
			this.by2 = by2;
		}

		public String getBy3() {
			return by3;
		}

		public void setBy3(String by3) {
			this.by3 = by3;
		}

		@Override
		public String toString() {
			return "Order [id=" + id + ", orderuid=" + orderuid + ", state=" + state + ", payway=" + payway
					+ ", userid=" + userid + ", addressid=" + addressid + ", message=" + message + ", money=" + money
					+ ", time=" + time + ", isdelete=" + isdelete + ", integral=" + integral ;
		}
	
		public Order() {
			super();
		}

		public Order(Integer id, String orderuid, String state, Integer userid, Integer addressid, 
				Integer money, Object time) {
			super();
			this.id = id;
			this.orderuid = orderuid;
			this.state = state;
			this.userid = userid;
			this.addressid = addressid;
			this.money = money;
			this.time = time;
		}



		public Order(Integer id, String orderuid, String state, Integer payway, Integer userid, Integer addressid,
				String message, Integer money, Object time, Integer isdelete, Integer integral) {
			super();
			this.id = id;
			this.orderuid = orderuid;
			this.state = state;
			this.payway = payway;
			this.userid = userid;
			this.addressid = addressid;
			this.message = message;
			this.money = money;
			this.time = time;
			this.isdelete = isdelete;
			this.integral = integral;
		}

		public Order(String orderuid, String state, Integer userid, Integer addressid, Integer money,
				Object time) {
			super();
			this.orderuid = orderuid;
			this.state = state;
			this.userid = userid;
			this.addressid = addressid;
			this.money = money;
			this.time = time;
		}

	

	

	
	
	

		
}